<?php /* Smarty version Smarty-3.1.11, created on 2013-09-15 22:28:37
         compiled from "..\templates\canbo\addcanbo.tpl" */ ?>
<?php /*%%SmartyHeaderCode:49275217183c879ad5-55405481%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'c5ebaf25ca09f3dd36e725684e04589df13a8cdf' => 
    array (
      0 => '..\\templates\\canbo\\addcanbo.tpl',
      1 => 1379258915,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '49275217183c879ad5-55405481',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_5217183c9e2367_92346782',
  'variables' => 
  array (
    'loi' => 0,
    'khoiphuc' => 0,
    'dstrungtam' => 0,
    'tt' => 0,
    'chucdanh' => 0,
    'cd' => 0,
    'chucvu' => 0,
    'cv' => 0,
    'quyenhan' => 0,
    'qh' => 0,
    'tongiao' => 0,
    'tg' => 0,
    'dantoc' => 0,
    'dt' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5217183c9e2367_92346782')) {function content_5217183c9e2367_92346782($_smarty_tpl) {?><!--------------------------------------------------------Script------------------------------------------->

<!--------------------------------------------------------Content------------------------------------------->
<div class="content-box"><!-- Start Content Box -->
	<div class="content-box-header">
		<h3>Thông Tin Cán Bộ - Giáo Viên </h3>
	</div>
	
	<div class="content-box-content">
        <form action="" method="POST" id="formnoidung">
       	<table>
            <tr><td colspan="9"><b>Thông báo: </b><label id="loi"><?php echo $_smarty_tpl->tpl_vars['loi']->value;?>
</label></td></tr>
            <tr>
                <td><label>Mã Cán Bộ:</label></td>
                <td><input class="text-input" type="text" name="ma_cb"  value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value['ma_cb'];?>
" /></td>
                <td><label id="hoten">Họ Tên:</label></td>
                <td><input class="text-input" type="text" name="hoten_cb" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value['hoten_cb'];?>
" onblur="Chuanhoa(this)"/></td>
                <td><b>Giới Tính</b></td>
                <td>
                    <input type="radio" name="gt_cb" value="Nam" <?php if ($_smarty_tpl->tpl_vars['khoiphuc']->value['gt_cb']=='Nam'){?> checked="1" <?php }?>/>Nam
                    <input type="radio" name="gt_cb" value="Nữ" <?php if ($_smarty_tpl->tpl_vars['khoiphuc']->value['gt_cb']=='Nữ'){?> checked="1" <?php }?>/>Nữ
                </td>
            </tr>
            <tr>
                <td><label id="ngaysinh">Ngày Sinh:</label></td>
                <td><input class="text-input" type="text" id="ngaysinh" name="ngaysinh_cb" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value['ngaysinh_cb'];?>
" onblur="ktngaysinh(this.value)" /> </td>
                <td><label id="sdt">Số ĐT:</td>
                <td><input type="text" name="sdt" class="text-input" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value['sdt'];?>
" onblur="ktsdt(this.value)"/></td>
                <td><label id="email">Email:</td>
                <td><input type="text" name="email" class="text-input" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value['email'];?>
" onblur="ktemail(this.value)"/></td>
            </tr>
            <tr>
                <td><label id="cmtnd">Chứng Minh Thư:</label></td>
                <td><input type="text" name="cmt" class="text-input" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value['cmt'];?>
" onblur="ktcmtnd(this.value)"/></td>
                <td>
                    <b>Địa Chỉ:</b>
                </td>
                <td>
                    <input name="diachi_cb" class="text-input" type="text" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value['diachi_cb'];?>
"/>
                </td>
                <td><b>Trung tâm</b></td>
                <td>
                <select name="trungtam">
                        <?php  $_smarty_tpl->tpl_vars['tt'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tt']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['dstrungtam']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['tt']->key => $_smarty_tpl->tpl_vars['tt']->value){
$_smarty_tpl->tpl_vars['tt']->_loop = true;
?>
                        <option value="<?php echo $_smarty_tpl->tpl_vars['tt']->value['ma_trungtam'];?>
" <?php if ($_smarty_tpl->tpl_vars['khoiphuc']->value['trungtam']==$_smarty_tpl->tpl_vars['tt']->value['ma_trungtam']){?> selected="1" <?php }?>><?php echo $_smarty_tpl->tpl_vars['tt']->value['ten_trungtam'];?>
</option>
                        <?php } ?>                    
                </select>
                </td>
            </tr>
            <tr>        
                <td colspan="6">                
                    <select name="chucdanh">
                        <option value="">--Chức Danh--</option>
                        <?php  $_smarty_tpl->tpl_vars['cd'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['cd']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['chucdanh']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['cd']->key => $_smarty_tpl->tpl_vars['cd']->value){
$_smarty_tpl->tpl_vars['cd']->_loop = true;
?>
                        <option value="<?php echo $_smarty_tpl->tpl_vars['cd']->value['madm_cd'];?>
" <?php if ($_smarty_tpl->tpl_vars['khoiphuc']->value['chucdanh']==$_smarty_tpl->tpl_vars['cd']->value['madm_cd']){?> selected="1" <?php }?>><?php echo $_smarty_tpl->tpl_vars['cd']->value['ten_cd'];?>
</option>
                        <?php } ?>                    
                    </select>
                    &nbsp;&nbsp;&nbsp;
                    <select name="chucvu">
                        <option value="">--Đối tượng--</option>
                        <?php  $_smarty_tpl->tpl_vars['cv'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['cv']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['chucvu']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['cv']->key => $_smarty_tpl->tpl_vars['cv']->value){
$_smarty_tpl->tpl_vars['cv']->_loop = true;
?>
                        <option value="<?php echo $_smarty_tpl->tpl_vars['cv']->value['ma_plcb'];?>
" <?php if ($_smarty_tpl->tpl_vars['khoiphuc']->value['chucvu']==$_smarty_tpl->tpl_vars['cv']->value['ma_plcb']){?> selected="1" <?php }?>><?php echo $_smarty_tpl->tpl_vars['cv']->value['ten_plcb'];?>
</option>
                        <?php } ?>                    
                    </select>
               
                   &nbsp;&nbsp;&nbsp;
                    <select name="quyenhan">
                        <option value="">-- Quyền hạn--</option>
                        <?php  $_smarty_tpl->tpl_vars['qh'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['qh']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['quyenhan']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['qh']->key => $_smarty_tpl->tpl_vars['qh']->value){
$_smarty_tpl->tpl_vars['qh']->_loop = true;
?>
                        <option value="<?php echo $_smarty_tpl->tpl_vars['qh']->value['ma_pq'];?>
" <?php if ($_smarty_tpl->tpl_vars['khoiphuc']->value['quyenhan']==$_smarty_tpl->tpl_vars['qh']->value['ma_pq']){?> selected="1" <?php }?>><?php echo $_smarty_tpl->tpl_vars['qh']->value['ten_pq'];?>
</option>
                        <?php } ?>                    
                    </select> 
                    Tôn giáo:
                    <select name="tongiao">
                        <option value="">--Tôn Giáo--</option>
                        <?php  $_smarty_tpl->tpl_vars['tg'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tg']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['tongiao']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['tg']->key => $_smarty_tpl->tpl_vars['tg']->value){
$_smarty_tpl->tpl_vars['tg']->_loop = true;
?>
                        <option value="<?php echo $_smarty_tpl->tpl_vars['tg']->value['madm_tongiao'];?>
" <?php if ($_smarty_tpl->tpl_vars['tg']->value['madm_tongiao']==$_smarty_tpl->tpl_vars['khoiphuc']->value['tongiao']){?> selected=""<?php }?>><?php echo $_smarty_tpl->tpl_vars['tg']->value['ten_tongiao'];?>
</option>
                        <?php } ?>                    
                    </select>
                    Dân tộc:
                    
                    <select name="dantoc">
                        <option value="">--Dân Tộc--</option>
                        <?php  $_smarty_tpl->tpl_vars['dt'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['dt']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['dantoc']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['dt']->key => $_smarty_tpl->tpl_vars['dt']->value){
$_smarty_tpl->tpl_vars['dt']->_loop = true;
?>
                        <option value="<?php echo $_smarty_tpl->tpl_vars['dt']->value['madm_dantoc'];?>
" <?php if ($_smarty_tpl->tpl_vars['dt']->value['madm_dantoc']==$_smarty_tpl->tpl_vars['khoiphuc']->value['dantoc']){?> selected=""<?php }?>><?php echo $_smarty_tpl->tpl_vars['dt']->value['ten_dantoc'];?>
</option>
                        <?php } ?>                    
                    </select>
                </td>
            
                </tr>
                <tr>
                    <td>
                        <input class="button" type="submit" name="luu" value="Lưu Lại"/>
                        <input class="button" type="reset" name="huy" value="Hủy"/>
                    </td>
                </tr>
        </table>
    </form>
</div> <!-- End .content-box-content -->
</div><?php }} ?>